package base.decorator;

import exam.service.UserService;

public class UserServiceImplDecorator implements UserService {

    private UserService userService;

    public UserServiceImplDecorator(UserService userService) {
        this.userService = userService;
    }

    @Override
    public void save() {
        userService.save();
        // 增强功能
        System.out.println("刮大白");
    }
}
